import {request} from '@/utils/request'

export function throughput(query) {
  return request({
    url: '/workorder/analysis/throughput',
    method: 'post',
    data: query
  })
}

export function throughputSource(query) {
  return request({
    url: '/workorder/analysis/throughputSource',
    method: 'post',
    data: query
  })
}

export function satisfaction(query) {
  return request({
    url: '/workorder/analysis/satisfaction',
    method: 'post',
    data: query
  })
}

export function comparison(query) {
  return request({
    url: '/workorder/analysis/comparison',
    method: 'post',
    data: query
  })
}

export function distribute(query) {
  return request({
    url: '/workorder/analysis/distribute',
    method: 'post',
    data: query
  })
}
/**
 * 首页数据统计
 */

export function getCount(query) {
  return request({
    url: '/workorder/analysis/getCount',
    method: 'get',
    data: query
  })
}